package com.autumn.scheduler.domain.entities;

import com.autumn.mybatis.mapper.annotation.TableOrderBy;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 作业日志
 * 
 * @author 老码农
 *
 *         2018-03-19 20:14:02
 */
@Entity
@Table(name = "autumn_job_log")
@TableOrderBy(value = "id DESC")
public class AutumnJobLog extends AbstractAutumnJob {

	/**
	 * 
	 */
	private static final long serialVersionUID = 604531483959375369L;

	private String jobClassName;
	private Date runTime;
	private Date schedTime;
	private String jobExecuteId;
	private int schedOperation;
	private String schedInstanceId;
	private int runState;
	private long runOrder;
	private String jobDescription;
	private String triggerDescription;
	private String runParameter;
	private String triggerType;	
	private int jobQueueRunState;
	private String jobQueueRunMessage;
	private Date jobQueueBeginTime;
	private Date jobQueueEndTime;
	private String runException;

	public String getJobClassName() {
		return jobClassName;
	}

	public void setJobClassName(String jobClassName) {
		this.jobClassName = jobClassName;
	}

	public Date getRunTime() {
		return runTime;
	}

	public void setRunTime(Date runTime) {
		this.runTime = runTime;
	}

	public Date getSchedTime() {
		return schedTime;
	}

	public void setSchedTime(Date schedTime) {
		this.schedTime = schedTime;
	}

	public int getSchedOperation() {
		return schedOperation;
	}

	public void setSchedOperation(int schedOperation) {
		this.schedOperation = schedOperation;
	}

	public String getSchedInstanceId() {
		return schedInstanceId;
	}

	public void setSchedInstanceId(String schedInstanceId) {
		this.schedInstanceId = schedInstanceId;
	}

	public int getRunState() {
		return runState;
	}

	public void setRunState(int runState) {
		this.runState = runState;
	}

	public long getRunOrder() {
		return runOrder;
	}

	public void setRunOrder(long runOrder) {
		this.runOrder = runOrder;
	}	

	public String getRunParameter() {
		return runParameter;
	}

	public void setRunParameter(String runParameter) {
		this.runParameter = runParameter;
	}

	public String getTriggerType() {
		return triggerType;
	}

	public void setTriggerType(String triggerType) {
		this.triggerType = triggerType;
	}	

	public int getJobQueueRunState() {
		return jobQueueRunState;
	}

	public void setJobQueueRunState(int jobQueueRunState) {
		this.jobQueueRunState = jobQueueRunState;
	}

	public String getJobQueueRunMessage() {
		return jobQueueRunMessage;
	}
	
	public Date getJobQueueBeginTime() {
		return jobQueueBeginTime;
	}

	public void setJobQueueBeginTime(Date jobQueueBeginTime) {
		this.jobQueueBeginTime = jobQueueBeginTime;
	}

	public void setJobQueueRunMessage(String jobQueueRunMessage) {
		this.jobQueueRunMessage = jobQueueRunMessage;
	}

	public Date getJobQueueEndTime() {
		return jobQueueEndTime;
	}

	public void setJobQueueEndTime(Date jobQueueEndTime) {
		this.jobQueueEndTime = jobQueueEndTime;
	}

	public String getRunException() {
		return runException;
	}

	public void setRunException(String runException) {
		this.runException = runException;
	}

	public String getJobDescription() {
		return jobDescription;
	}

	public void setJobDescription(String jobDescription) {
		this.jobDescription = jobDescription;
	}

	public String getTriggerDescription() {
		return triggerDescription;
	}

	public void setTriggerDescription(String triggerDescription) {
		this.triggerDescription = triggerDescription;
	}

	public String getJobExecuteId() {
		return jobExecuteId;
	}

	public void setJobExecuteId(String jobExecuteId) {
		this.jobExecuteId = jobExecuteId;
	}

}
